package com.abss.vote.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 *投票表
 */
public class Votes {

    private Integer ID;

    private Integer ACTIVITY_ID;//活动ID

    private String USER_ID;//点赞人ID

    private Integer WORK_ID;//作品ID

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy年MM月dd日 HH:mm:ss")
    private Date DTIME;//点赞时间

    private String column_6;

    private String column_7;

    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public Integer getACTIVITY_ID() {
        return ACTIVITY_ID;
    }

    public void setACTIVITY_ID(Integer ACTIVITY_ID) {
        this.ACTIVITY_ID = ACTIVITY_ID;
    }

    public String getUSER_ID() {
        return USER_ID;
    }

    public void setUSER_ID(String USER_ID) {
        this.USER_ID = USER_ID == null ? null : USER_ID.trim();
    }

    public Integer getWORK_ID() {
        return WORK_ID;
    }

    public void setWORK_ID(Integer WORK_ID) {
        this.WORK_ID = WORK_ID;
    }

    public Date getDTIME() {
        return DTIME;
    }

    public void setDTIME(Date DTIME) {
        this.DTIME = DTIME;
    }

    public String getColumn_6() {
        return column_6;
    }

    public void setColumn_6(String column_6) {
        this.column_6 = column_6 == null ? null : column_6.trim();
    }

    public String getColumn_7() {
        return column_7;
    }

    public void setColumn_7(String column_7) {
        this.column_7 = column_7 == null ? null : column_7.trim();
    }

    @Override
    public String toString() {
        return "Votes{" +
                "ID=" + ID +
                ", ACTIVITY_ID=" + ACTIVITY_ID +
                ", USER_ID='" + USER_ID + '\'' +
                ", WORK_ID=" + WORK_ID +
                ", DTIME=" + DTIME +
                ", column_6='" + column_6 + '\'' +
                ", column_7='" + column_7 + '\'' +
                '}';
    }
}